<template>
	<view class="datails_body_text">
		<view class="datails_body_text_title">{{title||"error"}}:</view>
		<view class="whitespace">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name: "DetailItem",
		props: ["title"]
	}
</script>

<style>
	.datails_body_text {
		width: 100%;
		font-size: 28rpx;
		color: rgb(128, 128, 128);
		display: flex;
		margin: 30rpx 0;
	}
	.datails_body_text_title{
		min-width: 70rpx;
		margin-right: 40rpx;
		font-weight: bold;
	}
	.whitespace{
		word-break:break-all;
		white-space:normal;
		/* font */
	}
</style>